package com.itany.service;

import com.github.pagehelper.PageInfo;
import com.itany.exception.UpdateFlagException;
import com.itany.pojo.Book;
import com.itany.pojo.Examine;
import com.itany.vo.SupplierExamine;

/**
 * Author：sl
 * Date：2019-09-18 下午3:29
 * Description：<描述>
 */
public interface ExamineService {

    /**
     * 添加书籍审核
     */
    void addExamine(Book book, Examine examine);


    PageInfo<Examine> findAllExamineByCondition(SupplierExamine supplierExamine, Integer page, Integer rows);

    void disableFlag(Examine examine) throws UpdateFlagException;


    void enableFlag(Examine examine) throws UpdateFlagException;
}
